﻿using System;
using System.Data;
using System.Configuration;
using System.Linq;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.HtmlControls;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Xml.Linq;
using SongsDB;

namespace WIMMP.BLL
{
    public class Song
    {
        public int PlayListIndex { get; set; }
        public string Artist { get; private set; }
        public string Title { get; private set; }

        SDBSongDataClass sdbSong;


        public Song(int index, SDBSongDataClass sdbSong)
        {
            PlayListIndex = index;
            this.sdbSong = sdbSong;
            Artist = sdbSong.ArtistName;
            Title = sdbSong.Title;

        }
    }
}
